package ca.qc.bdeb.info.pp2.tp2.application;

public class Province
{
    private int id;
    private String province;
    private int idPays;

    public int getId()
    {
        return id;
    }

    public void setId(int id)
    {
        this.id = id;
    }

    public String getProvince()
    {
        return province;
    }

    public void setProvince(String province)
    {
        this.province = province;
    }

    public int getIdPays()
    {
        return idPays;
    }

    public void setIdPays(int idPays)
    {
        this.idPays = idPays;
    }

    public ProvinceBean getProvinceBean()
    {
        ProvinceBean p = new ProvinceBean();
        p.setId(id);
        p.setProvince(province);
        p.setIdPays(idPays);

        return p;
    }
}
